﻿using System;
using System.Collections.Generic;
using System.Text;
using Kent.Boogaart.HelperTrinity;

namespace WPFCABShell.$safeprojectname$.Services.Skinning
{
	/// <summary>
	/// Contains data related to the <see cref="ISkinningService.SkinChanged"/> event.
	/// </summary>
	public sealed class SkinChangedEventArgs : EventArgs
	{
		private readonly ISkin _oldSkin;
		private readonly ISkin _newSkin;

		/// <summary>
		/// Gets the old skin.
		/// </summary>
		public ISkin OldSkin
		{
			get
			{
				return _oldSkin;
			}
		}

		/// <summary>
		/// Gets the new skin.
		/// </summary>
		public ISkin NewSkin
		{
			get
			{
				return _newSkin;
			}
		}

		public SkinChangedEventArgs(ISkin oldSkin, ISkin newSkin)
		{
			ArgumentHelper.AssertNotNull(newSkin, "newSkin");
			_oldSkin = oldSkin;
			_newSkin = newSkin;
		}
	}
}
